3.1.62 \(\int \frac {\sqrt {d-c^2 d x^2} (a+b \cosh ^{-1}(c x))}{x^4} \, dx\) [62]

Optimal. Leaf size=119 \[ -\frac {b c \sqrt {d-c^2 d x^2}}{6 x^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{3 d x^3}-\frac {b c^3 \sqrt {d-c^2 d x^2} \log (x)}{3 \sqrt {-1+c x} \sqrt {1+c x}} \]

[Out]

-1/3*(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/d/x^3-1/6*b*c*(-c^2*d*x^2+d)^(1/2)/x^2/(c*x-1)^(1/2)/(c*x+1)^(1/2
)-1/3*b*c^3*ln(x)*(-c^2*d*x^2+d)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {5917, 74, 14} \begin {gather*} -\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{3 d x^3}-\frac {b c \sqrt {d-c^2 d x^2}}{6 x^2 \sqrt {c x-1} \sqrt {c x+1}}-\frac {b c^3 \log (x) \sqrt {d-c^2 d x^2}}{3 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]))/x^4,x]

[Out]

-1/6*(b*c*Sqrt[d - c^2*d*x^2])/(x^2*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - ((d - c^2*d*x^2)^(3/2)*(a + b*ArcCosh[c*x]
))/(3*d*x^3) - (b*c^3*Sqrt[d - c^2*d*x^2]*Log[x])/(3*Sqrt[-1 + c*x]*Sqrt[1 + c*x])

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 74

Int[((a_) + (b_.)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[(a*c + b*
d*x^2)^m*(e + f*x)^p, x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && EqQ[b*c + a*d, 0] && EqQ[n, m] && Integer
Q[m] && (NeQ[m, -1] || (EqQ[e, 0] && (EqQ[p, 1] ||  !IntegerQ[p])))

Rule 5917

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp
[(f*x)^(m + 1)*(d + e*x^2)^(p + 1)*((a + b*ArcCosh[c*x])^n/(d*f*(m + 1))), x] + Dist[b*c*(n/(f*(m + 1)))*Simp[
(d + e*x^2)^p/((1 + c*x)^p*(-1 + c*x)^p)], Int[(f*x)^(m + 1)*(1 + c*x)^(p + 1/2)*(-1 + c*x)^(p + 1/2)*(a + b*A
rcCosh[c*x])^(n - 1), x], x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && EqQ[m
+ 2*p + 3, 0] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x^4} \, dx &=\frac {\sqrt {d-c^2 d x^2} \int \frac {\sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )}{x^4} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {(1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac {\left (b c \sqrt {d-c^2 d x^2}\right ) \int \frac {-1+c^2 x^2}{x^3} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {(1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac {\left (b c \sqrt {d-c^2 d x^2}\right ) \int \left (-\frac {1}{x^3}+\frac {c^2}{x}\right ) \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c \sqrt {d-c^2 d x^2}}{6 x^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {(1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac {b c^3 \sqrt {d-c^2 d x^2} \log (x)}{3 \sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.09, size = 88, normalized size = 0.74 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (\frac {(-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac {1}{3} b c \left (\frac {1}{2 x^2}+c^2 \log (x)\right )\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]))/x^4,x]

[Out]

(Sqrt[d - c^2*d*x^2]*(((-1 + c*x)^(3/2)*(1 + c*x)^(3/2)*(a + b*ArcCosh[c*x]))/(3*x^3) - (b*c*(1/(2*x^2) + c^2*
Log[x]))/3))/(Sqrt[-1 + c*x]*Sqrt[1 + c*x])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1016\) vs. \(2(99)=198\).
time = 6.69, size = 1017, normalized size = 8.55

method result size
default \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{3 d \,x^{3}}+\frac {2 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) c^{3}}{3 \sqrt {c x -1}\, \sqrt {c x +1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{4} \mathrm {arccosh}\left (c x \right ) c^{7}}{\left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{5} \mathrm {arccosh}\left (c x \right ) c^{8}}{\left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \left (c x +1\right ) \left (c x -1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{3} c^{6}}{6 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{5} c^{8}}{6 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{2} \mathrm {arccosh}\left (c x \right ) c^{5}}{\left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {3 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{3} \mathrm {arccosh}\left (c x \right ) c^{6}}{\left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x \,c^{4}}{18 c^{4} x^{4}-18 c^{2} x^{2}+6}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{2} c^{5}}{2 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{3} c^{6}}{3 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \left (c x +1\right ) \left (c x -1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) c^{3}}{3 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {10 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x \,\mathrm {arccosh}\left (c x \right ) c^{4}}{3 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{3}}{2 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x \,c^{4}}{6 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) \left (c x +1\right ) \left (c x -1\right )}-\frac {5 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) c^{2}}{3 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) x \left (c x +1\right ) \left (c x -1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c}{6 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) x^{2} \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right )}{3 \left (3 c^{4} x^{4}-3 c^{2} x^{2}+1\right ) x^{3} \left (c x +1\right ) \left (c x -1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) c^{3}}{3 \sqrt {c x -1}\, \sqrt {c x +1}}\) \(1017\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2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x)*c^4+1/2*b*(-d*(c^2*x^2-1))^(1/2)/(3*c^4*x^4-3*c^2*x^2+1)/(c*x+1)^(1/2)/(c*x-
1)^(1/2)*c^3+1/6*b*(-d*(c^2*x^2-1))^(1/2)/(3*c^4*x^4-3*c^2*x^2+1)*x/(c*x+1)/(c*x-1)*c^4-5/3*b*(-d*(c^2*x^2-1))
^(1/2)/(3*c^4*x^4-3*c^2*x^2+1)/x/(c*x+1)/(c*x-1)*arccosh(c*x)*c^2-1/6*b*(-d*(c^2*x^2-1))^(1/2)/(3*c^4*x^4-3*c^
2*x^2+1)/x^2/(c*x+1)^(1/2)/(c*x-1)^(1/2)*c+1/3*b*(-d*(c^2*x^2-1))^(1/2)/(3*c^4*x^4-3*c^2*x^2+1)/x^3/(c*x+1)/(c
*x-1)*arccosh(c*x)-1/3*b*(-d*(c^2*x^2-1))^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)*ln(1+(c*x+(c*x-1)^(1/2)*(c*x+1)^(1
/2))^2)*c^3

________________________________________________________________________________________

Maxima [C] Result contains complex when optimal does not.
time = 0.48, size = 150, normalized size = 1.26 \begin {gather*} \frac {{\left (c^{4} d^{2} \sqrt {-\frac {1}{c^{4} d}} \log \left (x^{2} - \frac {1}{c^{2}}\right ) + i \, \left (-1\right )^{-2 \, c^{2} d x^{2} + 2 \, d} c^{2} d^{\frac {3}{2}} \log \left (-2 \, c^{2} d + \frac {2 \, d}{x^{2}}\right ) + \frac {\sqrt {-c^{4} d x^{4} + 2 \, c^{2} d x^{2} - d} d}{x^{2}}\right )} b c}{6 \, d} - \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} b \operatorname {arcosh}\left (c x\right )}{3 \, d x^{3}} - \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} a}{3 \, d x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2)/x^4,x, algorithm="maxima")

[Out]

1/6*(c^4*d^2*sqrt(-1/(c^4*d))*log(x^2 - 1/c^2) + I*(-1)^(-2*c^2*d*x^2 + 2*d)*c^2*d^(3/2)*log(-2*c^2*d + 2*d/x^
2) + sqrt(-c^4*d*x^4 + 2*c^2*d*x^2 - d)*d/x^2)*b*c/d - 1/3*(-c^2*d*x^2 + d)^(3/2)*b*arccosh(c*x)/(d*x^3) - 1/3
*(-c^2*d*x^2 + d)^(3/2)*a/(d*x^3)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 220 vs. \(2 (99) = 198\).
time = 0.40, size = 462, normalized size = 3.88 \begin {gather*} \left [\frac {2 \, {\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left (b c^{5} x^{5} - b c^{3} x^{3}\right )} \sqrt {-d} \log \left (\frac {c^{2} d x^{6} + c^{2} d x^{2} - d x^{4} + \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} {\left (x^{4} - 1\right )} \sqrt {-d} - d}{c^{2} x^{4} - x^{2}}\right ) + \sqrt {-c^{2} d x^{2} + d} {\left (b c x^{3} - b c x\right )} \sqrt {c^{2} x^{2} - 1} + 2 \, {\left (a c^{4} x^{4} - 2 \, a c^{2} x^{2} + a\right )} \sqrt {-c^{2} d x^{2} + d}}{6 \, {\left (c^{2} x^{5} - x^{3}\right )}}, -\frac {2 \, {\left (b c^{5} x^{5} - b c^{3} x^{3}\right )} \sqrt {d} \arctan \left (\frac {\sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} {\left (x^{2} + 1\right )} \sqrt {d}}{c^{2} d x^{4} - {\left (c^{2} + 1\right )} d x^{2} + d}\right ) - 2 \, {\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - \sqrt {-c^{2} d x^{2} + d} {\left (b c x^{3} - b c x\right )} \sqrt {c^{2} x^{2} - 1} - 2 \, {\left (a c^{4} x^{4} - 2 \, a c^{2} x^{2} + a\right )} \sqrt {-c^{2} d x^{2} + d}}{6 \, {\left (c^{2} x^{5} - x^{3}\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2)/x^4,x, algorithm="fricas")

[Out]

[1/6*(2*(b*c^4*x^4 - 2*b*c^2*x^2 + b)*sqrt(-c^2*d*x^2 + d)*log(c*x + sqrt(c^2*x^2 - 1)) + (b*c^5*x^5 - b*c^3*x
^3)*sqrt(-d)*log((c^2*d*x^6 + c^2*d*x^2 - d*x^4 + sqrt(-c^2*d*x^2 + d)*sqrt(c^2*x^2 - 1)*(x^4 - 1)*sqrt(-d) -
d)/(c^2*x^4 - x^2)) + sqrt(-c^2*d*x^2 + d)*(b*c*x^3 - b*c*x)*sqrt(c^2*x^2 - 1) + 2*(a*c^4*x^4 - 2*a*c^2*x^2 +
a)*sqrt(-c^2*d*x^2 + d))/(c^2*x^5 - x^3), -1/6*(2*(b*c^5*x^5 - b*c^3*x^3)*sqrt(d)*arctan(sqrt(-c^2*d*x^2 + d)*
sqrt(c^2*x^2 - 1)*(x^2 + 1)*sqrt(d)/(c^2*d*x^4 - (c^2 + 1)*d*x^2 + d)) - 2*(b*c^4*x^4 - 2*b*c^2*x^2 + b)*sqrt(
-c^2*d*x^2 + d)*log(c*x + sqrt(c^2*x^2 - 1)) - sqrt(-c^2*d*x^2 + d)*(b*c*x^3 - b*c*x)*sqrt(c^2*x^2 - 1) - 2*(a
*c^4*x^4 - 2*a*c^2*x^2 + a)*sqrt(-c^2*d*x^2 + d))/(c^2*x^5 - x^3)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{x^{4}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*acosh(c*x))*(-c**2*d*x**2+d)**(1/2)/x**4,x)

[Out]

Integral(sqrt(-d*(c*x - 1)*(c*x + 1))*(a + b*acosh(c*x))/x**4, x)

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2)/x^4,x, algorithm="giac")

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,\sqrt {d-c^2\,d\,x^2}}{x^4} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a + b*acosh(c*x))*(d - c^2*d*x^2)^(1/2))/x^4,x)

[Out]

int(((a + b*acosh(c*x))*(d - c^2*d*x^2)^(1/2))/x^4, x)

________________________________________________________________________________________